home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
pmstore.z
/
pmstore
Wrap
Text File
|
1998-10-20
|
5KB
|
133 lines
PPPPMMMMSSSSTTTTOOOORRRREEEE((((1111)))) PPPPMMMMSSSSTTTTOOOORRRREEEE((((1111))))
NNNNAAAAMMMMEEEE
ppppmmmmssssttttoooorrrreeee - modify performance metric values
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ppppmmmmssssttttoooorrrreeee [----hhhh _h_o_s_t] [----iiii _i_n_s_t_a_n_c_e_s] [----nnnn _p_m_n_s_f_i_l_e] _m_e_t_r_i_c_n_a_m_e _v_a_l_u_e
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Under certain circumstances, it is useful to be able to modify the values
of performance metrics, for example to re-initialize counters or to
assign new values to metrics that act as control variables.
ppppmmmmssssttttoooorrrreeee changes the current values for the nominated instances of a
single performance metric, as identified by _m_e_t_r_i_c_n_a_m_e and the list of
instance identifiers following the ----iiii argument. _i_n_s_t_a_n_c_e_s must be a
single argument, with elements of the list separated by commas and/or
white space. By default all instances of _m_e_t_r_i_c_n_a_m_e will be updated.
Normally ppppmmmmssssttttoooorrrreeee operates on the default Performance Metrics Name Space
(PMNS), however if the ----nnnn option is specified an alternative namespace is
loaded from the file _p_m_n_s_f_i_l_e.
Unless directed to another host by the ----hhhh option, ppppmmmmssssttttoooorrrreeee will interact
with the Performance Metric Collector Daemon (PMCD) on the local host.
The interpretation of _v_a_l_u_e is dependent on the syntax used in its
specification and the underlying data type of _m_e_t_r_i_c_n_a_m_e, as follows.
1. If the metric has an iiiinnnntttteeeeggggeeeerrrr type, then _v_a_l_u_e should be an optional
leading hyphen, followed either by decimal digits or ``0x'' and some
hexadecimal digits. ``0X'' is also acceptable in lieu of ``0x''.
See ssssttttrrrrttttoooollll(3C) and the related routines.
2. If the metric has a ffffllllooooaaaattttiiiinnnngggg ppppooooiiiinnnntttt type, then _v_a_l_u_e should be either
in the form of an integer described above, or a fixed point number,
or a number in scientific notation. See ssssttttrrrrttttoooodddd(3C).
3. If the metric has a ssssttttrrrriiiinnnngggg type, then _v_a_l_u_e is interpreted as a
literal string of ASCII characters.
4. If the metric has an aaaaggggggggrrrreeeeggggaaaatttteeee type, then an attempt is made to
interpret _v_a_l_u_e as an integer, else a floating point number, else a
string. In the first two cases, the minimal word length encoding is
used, e.g. ``123'' would be interpreted as a 4-byte aggregate,
``0x100000000'' would be interpreted as an 8-byte aggregate.
The output reports the old value and the new value for each updated
instance of the requested metric.
FFFFIIIILLLLEEEESSSS
////vvvvaaaarrrr////ppppccccpppp////ppppmmmmnnnnssss////* default PMNS specification files
PPPPaaaaggggeeee 1111
PPPPMMMMSSSSTTTTOOOORRRREEEE((((1111)))) PPPPMMMMSSSSTTTTOOOORRRREEEE((((1111))))
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ppppmmmmccccdddd(1), ppppmmmmcccchhhhaaaarrrrtttt(1), ppppmmmmiiiinnnnffffoooo(1), ppppmmmmvvvvaaaallll(1), ssssttttrrrrttttoooodddd(3C) and ssssttttrrrrttttoooollll(3C).
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Two messages indicate a mismatch between the internal data type for
_m_e_t_r_i_c_n_a_m_e and the _v_a_l_u_e provided.
The value "???" is out of range for the data type (PM_TYPE_...)
The value "???" is incompatible with the data type (PM_TYPE_...)
PPPPaaaaggggeeee 2222